package com.liwei.easyweibo.util;

public class Constant {
	//公用的常用变量
	public static final String HTTPMETHOD_POST 					= "POST";
	public static final String HTTPMETHOD_GET						= "GET";
	public static String SERVER = "https://api.weibo.com/2/";
	
	public  final static int TYPE_WEIBO_SINA 							= 0;
	public  final static int TYPE_WEIBO_TENCENT 				= TYPE_WEIBO_SINA+1;
	public  final static int TYPE_WECHAT									=TYPE_WEIBO_TENCENT+1;
	public  final static String SHAREDPRE_SINA_TOKEN 					= "sharedpreference_sina_token";
	public  final static String SHAREDPRE_SINA_SECRET					="sharedpreference_sina_secret";
	public  final static String SHAREDPRE_TENCENT_OAUTH			= "sharedpreference_sina_token";
	public  final static String SHAREDPRE_WECHAT								= "sharedpreference_wechat";
//		//oauth2.0  认证公司提供的数据  ,先借用一下公司的数据
//	public static final String REDIRECTURI="http://m.xunlei.com";                      
//	public static final String CLIENTID = "801258552"; 
//	public static final String CLIENTSECRET="d9c9f21896547c06fe91dfec68c2ce81";
	
	//手雷申请应用信息
	public static final String SINA_APP_KEY = "4286195229";
	public static final String SINA_APP_SECRET = "93b740fa1feca6c6a3b7487107cd274c";
	public static final String SINA_URL_ACTIVITY_CALLBACK = "http://m.xunlei.com";
	
	//新浪微博相关
	public final static String CONSUMER_KEY ="4132854611";
	public final static String REDIRECT_URL 	= "http://weibo.com/liwei721?wvr=5&";
	
	//腾讯微博相关
	public final static String CONSUMER_KEY_TENCENT 			= "801309835";
	public final static String CONSUMER_SECRET_TENCENT 	= "50800245d6ffa5a6940b9738601c0a63";
	public final static String REDIRECT_URL_TENCENT 	= "http://t.qq.com/liwei1989721?pgv_ref=im.perinfo.perinfo.icon";
	//微信相关
	public final static String WECHAT_APPID = "wx8dc9c5bb89a733c3";
//	 public static final String WECHAT_APPID = "wxd930ea5d5a258f4f";
	 
	//BindActivity中常用变量
	public final static int REUSLT_CODE = 200;
	
	public static final int MEDIA_TYPE_IMAGE = 1;
	public static final int MEDIA_TYPE_VIDEO = 2;
	public static final int IMAGE_SAVE  				 = 3;
	public static final int IMAGE_OPEN				 = 4;
	public static final String SHARE_IMAGE_PATH = "imagePath";
	
	public static final String SAVE_IMAGE_PATH	="/EasyWeibo/iconCache/";
	public static final String SHARE_ICON_PATH	= "iconPath";
}
